package com.zjcode.cdcer.service.fallback;

import com.chinatechstar.component.commons.result.ListResult;
import com.chinatechstar.component.commons.result.ResultBuilder;
import com.chinatechstar.component.commons.supports.PageData;
import com.zjcode.cdcer.model.basic.JsonObj;
import com.zjcode.cdcer.service.CerCasUsersyncinfoService;
import java.util.LinkedHashMap;
import java.util.List;
import org.springframework.stereotype.Service;

/**
 * @ClassName:CerCasUsersyncinfoServiceFallback
 * @功能：
 * @author：wlei
 * @日期：2023/2/7-01:04
 **/
@Service
public class CerCasUsersyncinfoServiceFallback implements CerCasUsersyncinfoService {

    @Override
    public ListResult<Object> listByPage(PageData pageData) {
        return ResultBuilder.buildListWarn(new Exception("服务异常"));
    }

    @Override
    public JsonObj queryAllUnInitSysuserCount(PageData pageData) {
        return JsonObj.error("服务异常");
    }

    @Override
    public JsonObj findUserById(PageData pageData) {
        return JsonObj.error("服务异常");
    }

    @Override
    public JsonObj addSysUser(PageData pageData) {
        return JsonObj.error("服务异常");
    }

    @Override
    public JsonObj updateSysUser(PageData pageData) {
        return JsonObj.error("服务异常");
    }

    @Override
    public JsonObj syncTmpUserToSysUser(PageData pageData) {
        return JsonObj.error("服务异常");
    }
}
